var reg = {
    email : /^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*/,
    id : /^[a-zA-Z0-9]{6,20}$/,
    tel : /^1[3|4|5|8][0-9]\d{4,8}$/,
    qq : /[1-9][0-9]{6,}/,
    noneempty01 : /(^\S{1,2}$)|(^\S(.{1,198})\S$)/,
    noneempty02 : /(^\S{1,2}$)|(^\S(.{1,398})\S$)/,
    chinese : /^[\u4e00-\u9fa5]$/,
    account : /^[a-zA-Z0-9]{6,20}$/,
    password : /^\w{6,16}$/g,
    digit : /^[0-9]{,6}$/g
}

var hour = ['06','07','08','09','10','11','12','13','14','15','16','17','18','19','20','21','22','23','00','01','02','03','04','05']
var min = ['01','02','03','04','05','06','07','08','09','10','11','12','13','14','15','16','17','18','19','20',
           '21','22','23','24','25','26','27','28','29','30','31','32','33','34','35','36','37','38','39','40',
           '41','42','43','44','45','46','47','48','49','50','51','52','53','54','55','56','57','58','59','00']

function getHour() {
    var str = "";
    for(var i=0; i<hour.length; i++) {
        str = str + "<option value="+ hour[i] +">" + hour[i] + ":00</option>";
    }
    return str;
}

function getMin() {
    var str = "";
    for(var i=0; i<min.length; i++) {
        str = str + "<option value="+ min[i] +">" + min[i] + "</option>";
    }
    return str;
}